n=paragraph,
> background=color,
> backgroundcolor=lightgray,
> leftoffset=.5\bodyfontsize,
> rightoffset=.5\bodyfontsize,
> topoffset=.5\bodyfontsize,
> bottomoffset=.5\bodyfontsize,
> frame=off,]
> \margintext{\blackrule[color=black, height=0.10ex, width=1cm
backgroundcolor=lightgray,
> leftoffset=.5\bodyfontsize,
> rightoffset=.5\bodyfontsize,
> topoffset=.5\bodyfontsize,
> bottomoffset=.5\bodyfontsize,
> frame=off,]
> \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\}
> \blackrule[color=black, height=0.10ex, wid
=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.5\bodyfontsize,
rightoffset=.5\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame=off,]
\margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\}
\blackrule[color=black, height=0.10ex
=off]
\setupnarrower[left=0.80cm, right=0.80cm]
\definehspace[oneem][0.5em]
\setupinteraction
[state=start,
color=blue]
\usecolors[svg]
\setupinteraction
[state=start,
contrastcolor=cornflowerblue]
\starttext
\margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und
,
alternative=serried,
]
\definetextbackground[GrayBackground][
location=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.8\bodyfontsize,
rightoffset=.8\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame=off,]
\margintext{\blackrule[color=black
Dear Otared and Dear Hraban,
So this is my little example: works perfect, after our correspondence.
\starttext
\startalignment[normal]
\margintext {1.1.1}
{\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).}
\par
{\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die
r List,
I am at Home and have the following example.:
\starttext
\margintext {1.1.1}
{\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).}
\par
{\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die
Aus-\par
sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Vorausset
, but it seems that in the latest version
I have (2024.01.23), the command \qed is broken.
Best regards: Otared
> On 8 Feb 2024, at 12:23, Ursula Hermann wrote:
>
> Dear List,
>
> I am at Home and have the following example.:
>
> \starttext
> \margintext {1.1.1
Dear List,
I am at Home and have the following example.:
\starttext
\margintext {1.1.1}
{\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).}
\par
{\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die
Aus-\par
sage h(m, f) sei ”m ist verliebt in f“. Unter diesen
;"
I just wanted to know if there already an option defined to achieve the desired
result.
\setuphead [subsection] [alternative=margin]
%\setuphead [subsection] [alternative=inmargin]
%\setuphead [subsection] [alt
[GrayBackground][
location=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.5\bodyfontsize,
rightoffset=.5\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame=off,]
\margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\}
\blackr
rnative=serried,
]
\definetextbackground[GrayBackground][
location=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.5\bodyfontsize,
rightoffset=.5\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame=off,]
\margintext{\blackrule[color=black, height=0.
,
rightoffset=.5\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
before={\switchtobodyfont[global]},
after={},
frame=off,]
\margintext{\blackrule[color=black, height=0.10ex,
width=1cm]\\}\blackrule[color=black, height=0.10ex, width=13.50cm]
\starttext
\margintext {1.1.1
,]
\margintext{\blackrule[color=black, height=0.10ex,
width=1cm]\\}\blackrule[color=black, height=0.10ex, width=13.50cm]
\starttext
\margintext {1.1.1}
\starttext
\bf{Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor)}.
\stoptext
\starttext
{\it
\par Sei M die Menge aller Männer und F die Menge aller
,
alternative=serried,
]
\margintext{\blackrule[color=black, height=0.25ex,
width=1cm]\\}\blackrule[color=black, height=0.25ex, width=15cm]
\starttext
\margintext {1.1.1}
\startparagraph
It was essential for Hasselt to have a bridge across the Zwarte
Water river. The bishop of Utrecht gave
,
width=fit,
distance=0.5em,
alternative=serried,
]
\margintext{\blackrule[color=black, height=0.25ex,
width=1cm]\\}\blackrule[color=black, height=0.25ex, width=15cm]
\starttext
\margintext {1.1.1}
\starttheorem
The square on the hypotenuse is equal to the sum of the squares
> On 20 Nov 2023, at 08:54, Ursula Hermann wrote:
>
> Dear Bruce,
>
> Yes, I need also margintext.
What do you want to appear in the margin: the theorem number or the section
number of the current section?
In other words, what should replace the "hard coded" 2.1
Dear Bruce,
Yes, I need also margintext.
Many thanks
Uschi
-Ursprüngliche Nachricht-
Von: Bruce Horrocks
Gesendet: Samstag, 18. November 2023 15:48
An: ntg-context mailing list
Betreff: [NTG-context] Re: It works after a few changes but ..
> On 17 Nov 2023, at 14:06, Urs
> On 17 Nov 2023, at 14:06, Ursula Hermann wrote:
>
> \margintext{2.1.1}{\starttheorem {The square on the hypotenuse is equal
> to the sum of the squares on the other two sides. Ach is das schön, dass du
> da bist}
> \stoptheorem
The spurious parentheses seem to be a sid
, and also my text with the margin:
\definemargindata [MyInMargin][inright]
\definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm]
\margintext{\blackrule[color=black, height=0.25ex,
width=1cm]\\}\blackrule[color=black, height=0.25ex, width=7cm]
\setupenumerations
Dear Bruce
Yes, it was better. But i show you how it should loook:
\definemargindata [MyInMargin][inright]
\definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm]
\margintext{\blackrule[color=black, height=0.25ex,
width=1cm]\\}\blackrule[color=black, height
Dear List,
I just finished my example, did some changes today and it works perfect
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\margintext{\blackrule[color=black, height=0.05ex,
width=1cm
Ursula Hermann schrieb am 12.09.2023 um 11:19:
Dear List,
I have done an little example with a \blackrule:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\starttext
\margintext{\blackrule[color=black, height=0.05ex
Dear List,
I have done an little example with a \blackrule:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\starttext
\margintext{\blackrule[color=black, height=0.05ex,
width=1cm]\\Me
Dear List,
After compiling the following example, which is from February 2021:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me
bruary 2021:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
I get:
Command Line: context.exe
=\vbox,align=middle,stack=yes]
\defineuserdata [margintext] [alternative=margintext]
\defineuserdataalternative [margintext] [renderingsetup=userdata:margintext]
\startsetups [userdata:margintext]
\margindata
[inright]
[
style={\switchtobodyfont[10pt]},
width=\rightmarginwidth
\showlines false
Four line paragraph \\
Four line paragraph \\
Four line paragraph \\
Four line paragraph
\samplefile{bryson}
\showlines true
\samplefile{knuth}
\stoptext
These are both kind of hacky though. I'd recommend that you use
.
Here is yet another
paragraph. You can
see it also has the
three liens.
This is just for a segment of the book, not every paragraph in the book.
\starttext
\def\StartHack
{\margintext
[location=right,style=]
{\thinrules[n=3
ection]
[alternative=margintext,
before={\blank[big]\blank},
insidesection={\blank[-line]\setupindenting[next]},
style=\HeadFont\tf]
\setupindenting[yes,
small]
\setuptagging [state
Sorry, I didn't send the correct example…
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline}\dontleavehmode\hairline
\startformula
\margintext{Me
Hi Uschi,
You may add \dontleavehmode at the right place as in the following:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me
Dear Pablo!
I have done some changes. How can I get both hairlines in the same height:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me
width=4cm]
> \showframe
> \starttext
> \blackrule
> \margintext{Me}
> \blackrule[color=black, height=0.5ex, width=1cm]
> \stoptext
> \startformula
> a^n + b^n = c^n.
> \stopformula
> \stoptext
> What i want is a\blackrule over the margintext, but i do not get what I
&g
On 2/19/2021 4:02 PM, Ursula Hermann wrote:
Dear List,
i have the little following example:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\blackrule
\margintext
gt; \showframe
> \starttext
> \blackrule
> \margintext{Me}
> \blackrule[color=black, height=0.5ex, width=1cm]
> \stoptext
> \startformula
> a^n + b^n = c^n.
> \stopformula
> \stoptext
> What i want is a\blackrule over the margintext, but i do not get what I
> wantend.
Hi Us
Dear List,
i have the little following example:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\blackrule
\margintext{Me}
\blackrule[color=black, height=0.5ex, width
On 2/14/2021 10:43 PM, Aditya Mahajan wrote:
On Sun, 14 Feb 2021, Jigé wrote:
Hi all.
I'm trying to place a TikZ picture in the margin.
Here is a small example:
\usemodule[tikz]
\setuplayout[backspace=4cm, topspace=2cm, height=middle]
\starttext
\input{lorem}
\margintext{I have discovered
On Sun, 14 Feb 2021, Jigé wrote:
> Hi all.
>
> I'm trying to place a TikZ picture in the margin.
> Here is a small example:
>
> \usemodule[tikz]
> \setuplayout[backspace=4cm, topspace=2cm, height=middle]
> \starttext
> \input{lorem}
> \margin
Hi all.
I'm trying to place a TikZ picture in the margin.
Here is a small example:
\usemodule[tikz]
\setuplayout[backspace=4cm, topspace=2cm, height=middle]
\starttext
\input{lorem}
\margintext{I have discovered a truly
marvelous proof ... but
this margin is too narrow
> Am 14.02.2021 um 16:11 schrieb Jigé :
>
> Hi all.
>
> I'm trying to place a TikZ picture in the margin.
> Here is a small example:
>
> \usemodule[tikz]
> \setuplayout[backspace=4cm, topspace=2cm, height=middle]
> \starttext
> \input{lorem}
> \
s on what you want to achieve exactly, I think
>
> \useMPlibrary[dum]
>
> \setuppapersize[A4]
>
> \setuplayout
> [width=12cm,
>rightmargin=5cm]
>
> \defineuserdata [margintext] [alternative=margintext]
>
> \defineuserdataalternative [margintext]
> [rend
Hi Fabrice,
Like this maybe? It depends on what you want to achieve exactly, I think
\useMPlibrary[dum]
\setuppapersize[A4]
\setuplayout
[width=12cm,
rightmargin=5cm]
\defineuserdata [margintext] [alternative=margintext]
\defineuserdataalternative [margintext] [renderingsetup
margintext which would allow to
include both text and figures ?
Thank you
Fabrice
Le sam. 4 juil. 2020 à 11:36, Fabrice Couvreur
a écrit :
> Hi Marco,
> Without being a specialist, I knew the \blank command, but I too thought
> that there must be another solution.
> Thank you for your hel
On Fri, 3 Jul 2020 08:40:22 +0200
Fabrice Couvreur wrote:
> Thanks, it works but only for a comment and a picture. Indeed, if I
> add a comment and an image, the first image is placed on the second
> comment. Fabrice
>
> \starttext
> \startuserdata[margintext]
> \input
Hi Marco,
Thanks, it works but only for a comment and a picture. Indeed, if I add a
comment and an image, the first image is placed on the second comment.
Fabrice
\starttext
\startuserdata[margintext]
\input ward
\stopuserdata
\marginfigure{\externalfigure[dummy][width=\rightmarginwidth,location
]
\setupmargindata [marginfigure][command=\vbox,align=middle]
\defineuserdata [margintext] [alternative=margintext]
\defineuserdataalternative [margintext] [renderingsetup=userdata:margintext]
\startsetups [userdata:margintext]
\margindata
[inright]
[%style=\smallbodyfont,
style
ble to put some short notes in the margin, together with a float?
> Below is an example, which puts the float on top of the text in the margin.
> The option « stack=yes » works fine for the margintext when there is no
> float, but it does not seems to be an option which puts the figu
Hi,
Is it possible to put some short notes in the margin, together with a float?
Below is an example, which puts the float on top of the text in the margin.
The option « stack=yes » works fine for the margintext when there is no float,
but it does not seems to be an option which puts the figure
Hi,
Is it possible to put some short notes in the margin, together with a float?
Below is an example, which puts the float on top of the text in the margin.
The option « stack=yes » works fine for the margintext when there is no float,
but it does not seems to be an option which puts the figure
th=12cm,
> rightmargin=5cm]
>
> \definemathmatrix [pmatrix][matrix:parentheses][simplecommand=MATRIX]
>
> \unexpanded\def\pcent#1{#1\,\%}
>
> \defineuserdata [margintext] [alternative=margintext]
>
> \defineuserdataalternative [margintext] [renderingsetup=userdata
Hi
How to put several blocks of text in the margin without them encroaching
each other ?
Thank.
Fabrice
\setuplayout
[width=12cm,
rightmargin=5cm]
\definemathmatrix [pmatrix][matrix:parentheses][simplecommand=MATRIX]
\unexpanded\def\pcent#1{#1\,\%}
\defineuserdata [margintext] [alternative
Fabrice Couvreur schrieb am 10.04.2019 um 11:58:
Hi,
Wolfgang suggested this to put text in the margin but since some
updates it does not work anymore :
\setuplayout
[width=12cm,
rightmargin=5cm]
\defineuserdata [margintext] [alternative=margintext]
\defineuserdataalternative [margintext
Hi,
Wolfgang suggested this to put text in the margin but since some updates it
does not work anymore :
\setuplayout
[width=12cm,
rightmargin=5cm]
\defineuserdata [margintext] [alternative=margintext]
\defineuserdataalternative [margintext] [renderingsetup=userdata:margintext
Dear list,
MWE:
\starttext
\margintext{}
\stoptext
Error:
...ext/tex/texmf-context/tex/context/base/mkiv/node-nut.lua:736: table index is
nil
Please fix.
Cheers, Henri
___
If your question is of interest
lua
\ifconditional\headissomewhere
\strc_sectioning_stay_on_this_line % test case: alternative=margintext
and \startparagraph ..
\else
%\hskip\headnumberdistance\s!plus\headnumberdistance\s!minus.25\dimexpr\headnumberdistance\relax
\hskip\headtextdistance\re
. The breaks disappear in shorter
paragraphs, and disappear when the margintext is not present, but appear
when margintext is present and the paragraph exceeds some length which I
have not worked to determine.
Is my understanding of the space rules incorrect, or is this a bug?
Since some breaks
and not easily controlled
as with \llap and \rlap. The code started out more like:
Correcting the record: I misspoke in part above; margintext does follow
the narrowed paragraph shape.
--
Rik
___
If your question
On 8/13/2018 10:28, Rik Kabel wrote:
On 8/13/2018 03:01, Hans Hagen wrote:
On 8/13/2018 5:18 AM, Rik Kabel wrote:
\startparagraph
% \dontleavehmode\llap{\Mark}\inlinebuffer[TestBuffer]
% \ (first: \First, arg: \Arg)
\margintext{\Mark}
\setupparagraphintro[first][(first
\startparagraph
% \dontleavehmode\llap{\Mark}\inlinebuffer[TestBuffer]
% \ (first: \First, arg: \Arg)
\margintext{\Mark}
\setupparagraphintro[first][(first: \First, arg: \Arg)]
%\setupparagraphintro[next][(first: \First, arg: \Arg)]
\getbuffer[TestBuffer
\llap{\Mark}\inlinebuffer[TestBuffer]
% \ (first: \First, arg: \Arg)
\margintext{\Mark}
\setupparagraphintro[first][(first: \First, arg: \Arg)]
%\setupparagraphintro[next][(first: \First, arg: \Arg)]
\getbuffer[TestBuffer]
\stopparagraph
:
\setupbackend [export=yes]
\starttext
\subject{\tex{startlines} in margin}
\startparagraph
\margintext{\startlines
abc def
ghi
jkl
mno pqr
\stoplines}
\input knuth
\stopparagraph
\subject{\tex{crlf} in margin}
\startparagraph
\margintext{abc def\crlf
ghi
Wolfgang Schuster <mailto:schuster.wolfg...@gmail.com>
19. Februar 2018 um 21:28
This is a shortened version of the original question with a section title
in the margin (\setuphead[...][alternative=margintext]) where \noindent
is part of the code (strc-ren.mkiv).
Wolfgang
Hans
\directcheckedvspacing{disable}%
\input ward
\stoptext
Wolfgang
\noindentation doesn't have the side effects of \noindent
This is a shortened version of the original question with a section title
in the margin (\setuphead[...][alternative=margintext]) where \noindent
is part of the code (str
Wolfgang
\noindentation doesn't have the side effects of \noindent
This is a shortened version of the original question with a section title
in the margin (\setuphead[...][alternative=margintext]) where \noindent
is part of the code (strc-ren.mkiv).
Wolfgang
___
ntnext=no]).
I think there is a bug here, because \setuphead[alternative=margintext]
prevents "indentnext=no" from working.
You might use "insidesection=\noindenting", but this only works if you
don’t use \starpar...\stoppar. And this is only a workaround.
> 2. Look at th
ection]
[alternative=margintext,
color=white,
style=\tfxx,
before=,
after=,
commandafter={\setupparagraphintro[first]
[{{\bf \getmarking[sectionnumber][current]
\hspace[big]}}]}]
\setuphead[subs
% section
> 3.0.1 % subsubsection
>
> 4 % section
> 4.1% subsection
> 4.1.1 % subsubsection
>
> How can we automate this?
Hi Idris,
if you only need a printed version, I think the following approach might
help:
\setupwhitespace[big]
\setuphead[section]
[alter
On Thu, Aug 3, 2017 at 7:29 PM, Pablo Rodriguez <oi...@gmx.es> wrote:
> On 08/03/2017 06:03 PM, Hans Hagen wrote:
>> [...]
>> \definemargindata
>>[margintext:chapter]
>>[margintext]
>>[width=\outermarginwidth,
>>
On 08/03/2017 06:03 PM, Hans Hagen wrote:
> [...]
> \definemargindata
>[margintext:chapter]
> [margintext]
>[width=\outermarginwidth,
> location=outer,
> align=flushouter]
> [...]
> \definemargindata[margintext:section]
>[margintext]
\setuppagenumbering[alternative=doublesided]
\definemargindata[margintext:chapter]
[margintext]
[width=\rightmarginwidth, location=outer, align=flushleft]
\defineheadalternative
[margintext:chapter]
[margintext]
[margintext
]
\definemargindata[margintext:chapter]
[margintext]
[width=\rightmarginwidth, location=outer, align=flushleft]
\defineheadalternative
[margintext:chapter]
[margintext]
[margintext=margintext:chapter]
\definemargindata[margintext:section
also printed on the same
>> page as the chapter starts, which I find unnecessary.
>
> Hi Mikael,
>
> margintext as alternative for \setuphead may be a better approach:
>
> \showframe
> \setuppagenumbering[alternative=doublesided]
>
> \definemargindata[margintext:
On 08/02/2017 12:00 PM, Mikael P. Sundqvist wrote:
> Hi,
>
> I'm trying to print chapter and section titles in the margins, and it
> works fine, except that the chapter title is also printed on the same
> page as the chapter starts, which I find unnecessary.
Hi Mikael,
margintext
to align text in margin data:
\setuphead
[chapter]
[style=\tfxx,
number=no,
alternative=margintext,
align=middle]
\setupmargindata
[inmargin]
[style=\tfxx,
align=middle]
\starttext
\chapter{Chapter}
\input
e to align text in margin data:
\setuphead
[chapter]
[style=\tfxx,
number=no,
alternative=margintext,
align=middle]
\setupmargindata
[inmargin]
[style=\tfxx,
align=middle]
\starttext
\chapter{Chapter}
\input jojo
On 7/29/2017 7:34 PM, Rik wrote:
Willi, Pablo, and list,
Willi,
I understand that the overprint of the margin can be managed by changing
the default layout. The left margin box displayed by \showframe using
the default layout clearly shows the margin extending past the edge of
the page.
I
On 2017-07-29 14:18, Pablo Rodriguez wrote:
On 07/29/2017 07:34 PM, Rik wrote:
Pablo,
The \inmargin commands do suffer from the same problem; you need simply
change marg to marg marg marg to see it.
I simply meant that both margin and paragraph start at the same page
height. This is
On 07/29/2017 07:34 PM, Rik wrote:
> Pablo,
>
> The \inmargin commands do suffer from the same problem; you need simply
> change marg to marg marg marg to see it.
I simply meant that both margin and paragraph start at the same page
height. This is different from \chapter.
Pablo
--
Rodriguez wrote:
On 07/23/2017 09:48 PM, Rik Kabel wrote:
The following example demonstrates two problems with
alternative=margintext in \setuphead:
1. When used with start/stop sectioning, text following the title may
be set on the wrong line.
Hi Rik,
the issue comes
On 07/23/2017 09:48 PM, Rik Kabel wrote:
> The following example demonstrates two problems with
> alternative=margintext in \setuphead:
>
> 1. When used with start/stop sectioning, text following the title may
> be set on the wrong line.
Hi Rik,
the issue comes with
lowing example demonstrates two problems with alternative=margintext
>> in \setuphead:
>> • When used with start/stop sectioning, text following the title may be
>> set on the wrong line.
>> • Without regard to the type of sectioning, margintext titles may spill
Bump.
The problem persists two updates later.
In the picture below, the green line represents the edge of the page.
Does anyone else get the same result?
--
Rik
On 2017-07-23 15:48, Rik Kabel wrote:
The following example demonstrates two problems with
alternative=margintext in \setuphead
The following example demonstrates two problems with
alternative=margintext in \setuphead:
1. When used with start/stop sectioning, text following the title may
be set on the wrong line.
2. Without regard to the type of sectioning, margintext titles may
spill over the left edge
{Text.\margintext[scope=local]{Annotation.}}
but since I have \definenote[myCustomNote][paragraph=yes], no text in
the margin is displayed unless I delete this parameter (which
unfortunately is no option for my document layout).
Do you have any ideas how to solve this?
Thanks in advance and best
{Section title}
\dorecurse{5}{\subsection{Subsection title}}}
\stoptext
Using align, the margin or inmargin alternative doesn’t work. (And align
doesn’t work with the margintext alternative.)
Wouldn’t it be possible to set up both alignments, for numbers in margin
and for title inside
\starttext
\dorecurse{5}{\section{Section title}
\dorecurse{5}{\subsection{Subsection title}}}
\stoptext
Using align, the margin or inmargin alternative doesn’t work. (And align
doesn’t work with the margintext alternative.)
Wouldn’t it be possible to set up both alignments, for n
be an even greater value for the alternative option
in \setuphead when it could be combined with margin, inmargin and
margintext.
This may be reached with a special command, but avoiding a extra hack
would be very helpful for newbies.
Another issue with margin numbering is alignment:
\showframe
in \setuphead when it could be combined with margin, inmargin and
margintext.
This may be reached with a special command, but avoiding a extra hack
would be very helpful for newbies.
Another issue with margin numbering is alignment:
\showframe
\starttext
\setuphead[section][alternative
On 10/26/2016 01:50 PM, Hans Hagen wrote:
> [...]
> I'll add something
>
> % \definemargindata
> % [margintext:chapter]
> % [margintext:section]
>
> % \defineheadalternative
> % [margintext:chapter]
> % [margintext]
> % [margintext=margintext:chapter]
everse" is also a value for the "alternative",
Many thanks for your help,
I'll add something
% \definemargindata
% [margintext:chapter]
% [margintext:section]
% \defineheadalternative
% [margintext:chapter]
% [margintext]
% [margintext=margintext:chapter]
% \setuphead
\margintext{The book I am working with has marginal annotations that
act as a précis of the argument in the main text. Some of them are
several sentances long.}
text.
\stoptext
Robert
___
If your question is of interest
Ibn Saeed <mailto:ibnsa...@gmail.com>
18. Januar 2016 um 08:15
By using right
\setupmargindata
[margintext]
[align=r2l]
and
\setupalign[r2l]
The margin arabic text appears correctly
But the arabic texts in the header is still the same.
\setupheader[style=\righttoleft]
Wo
]
\definefontsynonym [Serif] [Arabic-Regular] [features=arabic]
\definefontsynonym [SerifBold] [Arabic-Bold][features=arabic]
\stoptypescript
\starttypescript [Arabic]
\definetypeface [Arabic] [rm] [serif] [arabic] [default]
\stoptypescript
\setupmargindata[margintext]
[align=r2l
>
> \setupmargindata
> [margintext]
> [align=r2l]
>
> use \setupalign[r2l] and \righttoleft and not the dir primitives
>
I did not understand how to use
"use \setupalign[r2l] and \righttoleft and not the dir primitives"
Do you mean that i should rem
Ibn Saeed gmail.com> writes:
>
>
> >
> > \setupmargindata
> > [margintext]
> > [align=r2l]
> >
> > use \setupalign[r2l] and \righttoleft and not the dir primitives
> >
>
> I did not understand how to use
>
> "use \
\chapter{الآجرومية}
\margintext{الآجرومية}
الحمد لله رب العالمين، وصلى الله وسلم وبارك على عبده ورسوله نبينا محمد وعلى
آله وصحبه أجمعين، أما بعد:
فلا يخفى على من له أدنى عناية بالعلم الشرعي لا سيما ما يتعلق بالكتاب
العزيز والسنة النبوية لا يخفى عليه أهمية معرفة اللغة العربية بفنونها
العشرة أو الإثني
=\blank,after=,grid=both]
\setupbackgrounds[header][text][frame=off, bottomframe=on]
\setupheadertexts
[{\getmarking[chapter]}][{صفحة }]
[{صفحة }][{\getmarking[chapter]}]
\setupinmargin[stack=yes]
\starttext
\chapter{الآجرومية}
\margintext{الآجرومية}
الحمد لله رب
example:
\enableregime[utf-8]
\mainlanguage[de]
\starttext
\subject{Works}
1
\margintext{a}
\subject{Doesn’t work}
\margintext{b}
\stoptext
___
If your question is of interest to others as well, please
1 - 100 of 186 matches
Mail list logo